﻿using B.S.DataBase.MyProject.Domain;
using B.S.DataBase.MyProject.ErrorCode;
using B.S.DataBase.MyRead.API.DTOs;
using MediatR;

namespace B.S.DataBase.MyRead.API.Appicant.Command.ApproveCommand
{
    /// <summary>
    /// 请假申请表显示-命令
    /// </summary>
    public class NewListLeaveModelCommand : IRequest<APIPaing<ListLeaveModelDTOS>>
    {
        /////////////////////////////可查看人
        
        ////// <summary>
        /// 申请人审批级别
        /// </summary>
        //public int? AddLevelRoleId { get; set; }
        /// <summary>
        /// 当前审批级别
        /// </summary>
        public int? LevelRoleId { get; set; }
        /// <summary>
        /// 用户Id
        /// </summary>
        public int? UserId { get; set; }
        /// <summary>
        /// 部门Id
        /// </summary>
        public int? DepId { get; set; }
        
        ///////////////////////////查询条件
        /// <summary>
        /// 审批状态
        /// </summary>
        public int? AppStatus { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? StartTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string? NickName { get; set; }

        ///////////////////////////分页
        /// <summary>
        /// 首页
        /// </summary>
        public int TotalIndex { get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int TotalSize { get; set; } 



    }
}
